<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
  import Vue from 'vue'
  import axios from 'axios'
  import {baseUrl} from './assets/js/setting.js'

  axios.defaults.withCredentials = true
  axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'
  Vue.prototype.$http = axios.create({
    baseURL: baseUrl,
    timeout: 30000
  })
  export default {
    name: 'app'
  }
</script>

<style>

</style>
